/**
 * 
 */
package com.coral.fundation.user;

import com.coral.fundation.user.entity.User;

/**
 * @author Coral
 *
 */
public class AppUser {
	
	private static ThreadLocal<User> local = new ThreadLocal<User>();
	
	public void setCurrentUser(User user) {
		local.set(user);
	}
	
	public User getCurrentUser() {
		return local.get();
	}

}
